* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

a {
  text-decoration: none;
}

li {
  list-style: none;
}

@color: #F60;
@color1: #333;
@color2: #fff;
@color3: #c93030;
@color4: #f8f8f8;
@color5: #666666;
@color6: #eee;

// nav导航条
.nav-all {
  position: relative;
  font-size: 12px;
  height: 36px;
  background: #f5f5f5;

  .navbar-left {
    width: 425px;
    height: 35px;

    >li {
      width: 80px;
      height: 35px;
      float: left;
      line-height: 35px;
      text-align: center;

      >a {
        color: #999;
        padding: 8px 7px;
        text-decoration: none;

        &:hover {
          color: @color;
        }
      }
    }
  }
}

.navbar-right {
  width: 720px;
  height: 35px;

  >li {
    width: 80px;
    height: 35px;
    float: left;
    line-height: 35px;
    text-align: center;

    >a {
      color: #999;
      padding: 8px 7px;
      text-decoration: none;

      &:hover {
        color: @color;
      }
    }
  }
}

//搜索栏
.search-for {
  height: 90px;
  border-bottom: 1px solid #ccc;
  overflow: hidden;

  img:nth-child(1) {
    width: 190px;
    height: 90px;
    float: left;
  }

  .qijiandian {
    width: 255px;
    height: 73px;
    margin-left: 210px;
    margin-top: 16px;

    p:nth-child(1) {
      margin-top: 10px;

    }

    p:nth-child(2) {
      margin-top: 10px;
      font-size: 12px;
      color: @color1;

      img {
        width: 69px;
        height: 18px;
        margin-left: 40px;
      }

    }
  }

  // 搜索框组
  .input-group-1 {
    float: right;
    margin-top: 15px;

    .form-control {
      height: 41px;
      width: 400px;
      border: 2px solid @color;
      border-radius: 15px 0 0 15px;
      font-size: 12px;
      margin-left: 24px;
      border-right: none;
    }

    .input-group-btn {
      .btn:nth-child(1) {
        background: @color;
        color: @color2;
        font-weight: bold;
        height: 41px;
      }

      .btn:nth-child(2) {
        background: @color1;
        color: @color2;
        font-weight: bold;
        border-radius: 0 15px 15px 0;
        height: 41px;
        margin-left: 2px;
      }
    }
  }
}

// 旗舰店中间栏小广告图片
.shopping {
  img {
    height: 118px;
    width: 990px;
    display: block;
    margin: 0 auto;
  }
}

//第二层导航
.second-nav {
  height: 40px;
  background: @color1;

  ul {
    height: 40px;

    li:nth-child(1) {
      margin-left: 30px;
      width: 140px;
      border-right: 1px solid @color3;
    }

    >li {
      width: 100px;
      line-height: 40px;
      text-align: center;
      height: 40px;
      float: left;

      &:hover {
        background: @color3;
      }
    }

    a {
      font-size: 16px;
      color: @color2;
      text-decoration: none;
    }
  }
}

// 产品介绍小导航

.produce {
  height: 40px;
  background: @color4;

  ul {
    height: 40px;
    line-height: 40px;

    >li {
      float: left;

    }

    li:nth-child(1) {
      a {
        border: none;
      }

    }

    li:nth-child(5) {
      a {
        background: #fff;
        border: none;
      }
    }

    a {
      margin-right: 10px;
      font-size: 12px;
      color: @color5;
      border: 1px solid #ccc;
      background: #fff;

      &:hover {
        color: @color;
      }
    }
  }

  p {
    float: right;
    margin: -38px 0 10px;
    font-size: 12px;
    color: @color5;

    span {
      cursor: pointer;

      &:hover {
        color: @color;
      }
    }
  }
}

// 商品详情
.goods-detail {
  height: 744px;

  //右边区域
  .right-goods {
    width: 110px;
    height: 100%;
    float: right;
    border-left: 1px solid @color5;
    line-height: 1;

    p {
      text-align: right;
      font-weight: 700;
      line-height: 1;

    }

    ul {
      width: 110px;
      height: 100%;
      line-height: 1;

      li {
        width: 100px;
        height: (744px/3);
        float: right;

        img {
          width: 100px;
          height: 100px;
          overflow: hidden;
        }

        span {
          font-size: 12px;
          color: @color5;
        }
      }

    }
  }

  //左边区域
  .left-goods {
    width: 401px;
    height: 520px;
    float: left;
    margin-right: 20px;
    position: relative;

    div {
      width: 400px;
      height: 400px;
      display: none;

      img {
        width: 399px;
        height: 100%;
        border: 1px solid @color6;
      }
    }

    .goods-1 {
      width: 400px;
      height: 400px;
      display: block;

      img {
        width: 399px;
        height: 100%;
      }

      .mask {
        width: 200px;
        height: 200px;
        background: yellow;
        opacity: .3;
        position: absolute;
        top: 0;
        left: 0;
        border: 1px solid @color5;
        cursor: move;
      }

      .big {
        width: 400px;
        height: 400px;
        position: absolute;
        // display: block;
        left: 398px;
        top: 0;
        background: @color2;
        z-index: 10;
        overflow: hidden;
        border: 1px solid @color6;

        .bigimg {
          width: 800px;
          height: 800px;
          position: absolute;
          top: 0;
          left: 0;
        }
      }
    }


    .left-five-pic {
      height: 64px;
      width: 100%;

      .active {
        border: 2px solid @color3;

      }

      >li {
        width: 60px;
        height: 60px;
        float: left;
        margin-left: 17px;
        margin-top: 8px;

        img {

          width: 100%;
          height: 100%;
        }
      }
    }

    p {
      margin: 20px;
    }

    span {
      color: goldenrod;
      font-size: 12px;

      &:hover {
        color: @color;
      }
    }
  }

  //中间区域
  .center-goods {
    width: 570px;
    height: 100%;
    overflow: hidden;
    font-size: 12px;
    color: @color5;

    h1 {
      font-size: 16px;
      font-weight: 700;
    }

    i {
      font-style: normal;
      color: @color;
    }

    .qiandao {
      height: 120px;
      background: rgb(255, 248, 243);
      position: relative;

      p {
        font-size: 12px;
        color: @color5;

        span {
          display: inline-block;
          margin: 3px;
        }
      }

      p:nth-child(2) {
        span:nth-child(2) {
          color: #e00;
          font-size: 30px;
          font-weight: 700;
        }

        span:nth-child(3) {
          border: 1px solid @color;
          border-radius: 5px;
        }
      }

      img:nth-child(3) {
        float: right;
        width: 234px;
        height: 120px;
        margin-top: -92px;
      }

      img:nth-child(4) {
        width: 100px;
        height: 100px;
        position: absolute;
        top: 10px;
        right: 14px;

      }
    }

  }

  p {
    height: 30px;
    margin-top: 22px;
  }

  .four-choice {
    margin-left: 80px;
    width: 570px;
    height: 94px;
    list-style: none;
    li:nth-child(1){
      a:nth-child(1){
        border-color: @color;
      }
    }
    li {
      float: left;
      z-index: 666;
      margin: 0 4px 5px 0;


      a {
        height: 38px;
        display: block;
        position: relative;
        float: left;
        height: 45px;
        line-height: 40px;
        padding: 1px 8px 1px 1px;
        border: 1px solid @color6;
        color: #666;
        text-decoration: none;
        white-space: nowrap;

        &:hover {
          color: @color;
        }
      }

      img {
        width: 38px;
        height: 38px;
        float: left;
      }

      span {
        float: left;
        max-width: 180px;
        overflow: hidden;
        white-space: nowrap;
        text-overflow: ellipsis;
      }
    }
  
  }
  .num{
    cursor: pointer;
    user-select: none;
    span:nth-child(1){
      display: inline-block;
      width: 22px;
      height: 30px;
      background: @color6;
      border: 1px solid @color5;
      text-align: center;
      line-height: 30px;
    }
    span:nth-child(2){
     display: inline-block;
      width: 50px;
      line-height: 30px;
      height: 30px;
      border: 1px solid #ddd;
      margin: 5px 0px;
      text-align: center;
    }
    span:nth-child(3){
      display: inline-block;
      width: 22px;
      height: 30px;
      background: @color6;
      border: 1px solid @color5;
      text-align: center;
      line-height: 30px;
    }
  }
  .btn1{
    font-weight: 700;
    border-radius: 3px;
    height: 40px;
    width: 115px;
    color: @color2;
    border: none;
    background: #663200;
    font-size: 16px;
    &:hover{
      opacity: .8;
    }
  }
  .btn2{
    background: #f50;
    color: @color2;
    font-size: 16px;
    font-weight: 700;
    border-radius: 3px;
    width: 135px;
    height: 40px;
    border: none;
    &:hover{
      opacity: .8;
    }
}
  }


// 店铺热销
.hot-sail {
  height: 326px;
  border: 1px solid #eee;

  .sail-nav {
    height: 35px;
    background: @color4;

    span {
      a {
        display: block;
        width: 106px;
        height: 35px;
        font-size: 16px;
        text-align: center;
        line-height: 35px;
        color: @color;
        background: @color2;
        text-decoration: none;
        border-top: 1px solid @color;
      }
    }
  }

  .row {
    height: 260px;

    .col-md-2 {
      height: 260px;

      p {
        font-size: 12px;
        margin-top: 30px;
        cursor: pointer;

        &:hover {
          color: @color;
        }
      }

      span {
        color: @color;
        font-weight: 600;
        font-size: 12px;
        margin-top: 20px;
      }
    }
  }
}

// 商品详情
.detail-page {

  // 左边栏
  .detail-left {
    width: 199px;
    float: left;

    height: 1000px;

    .firstbox {
      width: 188px;
      height: 221px;
      border: 1px solid @color3;
    }
  }

  // 中间栏
  .detail-center {
    width: 746px;
    height: 1000px;
    float: left;

    img {
      width: 100%;
    }
  }

  // 右边栏
  .detail-right {
    width: 160px;
    height: 480px;
    float: left;

    ul {
      width: 160px;
      height: 480px;

      li {
        width: 160px;
        height: 40px;
        text-align: center;
        line-height: 40px;
      }

      li:nth-child(1) {
        background: @color;
        color: @color4;
      }
    }
  }
}

// 底部
.page-footer {
  margin-top: 1100px;

  p {
    text-align: center;
    font-size: 12px;
  }

  img {

    height: 24px;
  }

  img:nth-child(8) {
    margin-left: 340px;
  }
}